import {get,post} from '../utils/require';

//话题榜
// export const getItemAPI = () => get(`/hot/topic?limit=10&timestamp=${new Date()}`);
//视频榜
export const getVideoAPI = () => get("/video/timeline/all?timestamp="+Date.now()+'&cookie='+localStorage.getItem('token'));
// export const getVideoAPI = () => get("/video/timeline/all");

//歌手榜
export const getUserAPI = () => get("/toplist/artist?timestamp="+Date.now()+'&cookie='+localStorage.getItem('token'));
// export const getUserAPI = () => get("/toplist/artist");
//播放
export const getPlayAPI = (uid) => get("/user/record",uid);
